package com.direct.domian;
import java.util.HashSet;
import java.util.Set;

/**
 * 配送点
 * 
 * @author Administrator
 * 
 */

public class Distribution {
	
	private String id;
	// 配送点负责人
	private Employee chargeEmp;
	// 配送点所在城市
	private City city;
	// 所在省份
	private Provice provice;
	// 所在乡镇
	private Town town;
	// 名称
	private String name;
	// 描述
	private String remark;
	// 配送点级别
	private Integer disLevel;
	// 配送点图片地址
	private String img;
	// 配送点状态可用与不可用
	private Integer state;
	// 配送范围
	private Set ranges = new HashSet(0);

	public Distribution() {
	}

	public Distribution(String id) {
		this.id = id;
	}

	public Distribution(String id, Employee chargeEmp, City city,
			Provice provice, Town town, String name, String remark,
			Integer disLevel, String img, Integer state, Set ranges) {
		this.id = id;
		this.chargeEmp = chargeEmp;
		this.city = city;
		this.provice = provice;
		this.town = town;
		this.name = name;
		this.remark = remark;
		this.disLevel = disLevel;
		this.img = img;
		this.state = state;
		this.ranges = ranges;
	}

	public Employee getChargeEmp() {
		return chargeEmp;
	}

	public City getCity() {
		return city;
	}

	public Integer getDisLevel() {
		return disLevel;
	}

	public String getId() {
		return id;
	}

	public String getImg() {
		return img;
	}

	public String getName() {
		return name;
	}

	public Provice getProvice() {
		return provice;
	}

	public Set getRanges() {
		return ranges;
	}

	public String getRemark() {
		return remark;
	}

	public Integer getState() {
		return state;
	}

	public Town getTown() {
		return town;
	}

	public void setChargeEmp(Employee chargeEmp) {
		this.chargeEmp = chargeEmp;
	}

	public void setCity(City city) {
		this.city = city;
	}

	public void setDisLevel(Integer disLevel) {
		this.disLevel = disLevel;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setProvice(Provice provice) {
		this.provice = provice;
	}

	public void setRanges(Set ranges) {
		this.ranges = ranges;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public void setTown(Town town) {
		this.town = town;
	}

}